package com.appcenter.message.config;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Configuration
@ConfigurationProperties(prefix = "remote", ignoreUnknownFields = false)
@PropertySource("classpath:remote.properties")
@Component
public class RemoteProperties {
    private String AppCenterServiceUrl;
    private String AppCenterUrl;

    public String getAppCenterServiceUrl() {
        return AppCenterServiceUrl;
    }

    public void setAppCenterServiceUrl(String appCenterServiceUrl) {
        AppCenterServiceUrl = appCenterServiceUrl;
    }

    public String getAppCenterUrl() {
        return AppCenterUrl;
    }

    public void setAppCenterUrl(String appCenterUrl) {
        AppCenterUrl = appCenterUrl;
    }
}
